package com.ruoyi.backend.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实名认证对象 sys_user_real_auth
 * 
 * @author wjr
 * @date 2025-09-23
 */
public class SysUserRealAuth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表格id */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 企业名称/用户真名 */
    @Excel(name = "企业名称/用户真名")
    private String realName;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String socialReditCode;

    /** 个人/法人手机号码 */
    @Excel(name = "个人/法人手机号码")
    private String legalMobile;

    /** 个人/企业法人身份证正面 */
    @Excel(name = "个人/企业法人身份证正面")
    private String idCardFront;

    /** 个人/企业法人身份证反面 */
    @Excel(name = "个人/企业法人身份证反面")
    private String idCardBack;

    /** 个人身份证号码 */
    @Excel(name = "个人身份证号码")
    private String idCardNum;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String businessCer;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankOfDeposit;

    /** 实名认证状态：1=审核中，2=审核通过，3=审核不通过 */
    @Excel(name = "实名认证状态：1=审核中，2=审核通过，3=审核不通过")
    private Integer realStatus;

    /** 认证类型：1=个人，2=企业 */
    @Excel(name = "认证类型：1=个人，2=企业")
    private Integer realType;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditBy;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }

    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }

    public void setSocialReditCode(String socialReditCode) 
    {
        this.socialReditCode = socialReditCode;
    }

    public String getSocialReditCode() 
    {
        return socialReditCode;
    }

    public void setLegalMobile(String legalMobile) 
    {
        this.legalMobile = legalMobile;
    }

    public String getLegalMobile() 
    {
        return legalMobile;
    }

    public void setIdCardFront(String idCardFront) 
    {
        this.idCardFront = idCardFront;
    }

    public String getIdCardFront() 
    {
        return idCardFront;
    }

    public void setIdCardBack(String idCardBack) 
    {
        this.idCardBack = idCardBack;
    }

    public String getIdCardBack() 
    {
        return idCardBack;
    }

    public void setIdCardNum(String idCardNum) 
    {
        this.idCardNum = idCardNum;
    }

    public String getIdCardNum() 
    {
        return idCardNum;
    }

    public void setBusinessCer(String businessCer) 
    {
        this.businessCer = businessCer;
    }

    public String getBusinessCer() 
    {
        return businessCer;
    }

    public void setBankCardNumber(String bankCardNumber) 
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber() 
    {
        return bankCardNumber;
    }

    public void setBankOfDeposit(String bankOfDeposit) 
    {
        this.bankOfDeposit = bankOfDeposit;
    }

    public String getBankOfDeposit() 
    {
        return bankOfDeposit;
    }

    public void setRealStatus(Integer realStatus) 
    {
        this.realStatus = realStatus;
    }

    public Integer getRealStatus() 
    {
        return realStatus;
    }

    public void setRealType(Integer realType) 
    {
        this.realType = realType;
    }

    public Integer getRealType() 
    {
        return realType;
    }

    public void setAuditBy(String auditBy) 
    {
        this.auditBy = auditBy;
    }

    public String getAuditBy() 
    {
        return auditBy;
    }

    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("realName", getRealName())
            .append("socialReditCode", getSocialReditCode())
            .append("legalMobile", getLegalMobile())
            .append("idCardFront", getIdCardFront())
            .append("idCardBack", getIdCardBack())
            .append("idCardNum", getIdCardNum())
            .append("businessCer", getBusinessCer())
            .append("bankCardNumber", getBankCardNumber())
            .append("bankOfDeposit", getBankOfDeposit())
            .append("realStatus", getRealStatus())
            .append("realType", getRealType())
            .append("auditBy", getAuditBy())
            .append("auditTime", getAuditTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
